from fastapi import APIRouter, Depends
from sqlalchemy.orm import Session
from ..db import get_db
from .. import models, schemas
from ..security import get_current_user

router = APIRouter()

@router.get("/me", response_model=schemas.UserOut)
def get_me(current=Depends(get_current_user)):
    return current
